﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormCheckList.aspx.cs" Inherits="BySoft.Web.Site.SysManage.FormCheckList" MasterPageFile="~/MastePage/SubEmptyMaster.Master" %>

<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="cphHeadContent" runat="server" ContentPlaceHolderID="HeadPlace">
    <script language="javascript" type="text/javascript">
        
    </script>
</asp:Content>
<asp:Content ContentPlaceHolderID="EmptyMasteCPH" runat="server" ID="cphContent">
    <h1 class="tit">系统管理 >> 让步审核管理</h1>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <%--查询条件--%>
            <div class="searchTable" id="divAdd" runat="server"> 
                <div class="btnStylef"> 
                    <label class="btnStylec png_bg">
                        <input type="button" runat="server" id="btnAdd" value="新增" onclick="window.location = 'FormCheckAdd.aspx'"
                            validationgroup="gSubmit" /></label>
                </div>
            </div> 
            <%--列表--%>
            <div class="tableStyle">
                <asp:SGridView runat="server" ID="grdResult" Width="100%" ShowActionToolBar="false"
                    AutoGenerateColumns="false" AllowCascade="false" OnRowDataBound="grdResult_RowDataBound"
                    OnRowCommand="grdResult_RowCommand">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                审核单据
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="lblModuleName" runat="server" Text='<%#Eval("ModuleName") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                是否审核
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="lblIsCheckName" runat="server" Text='<%#Eval("IsCheckName") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField> 
                        <asp:TemplateField>
                            <HeaderTemplate>
                                查看
                            </HeaderTemplate>
                            <HeaderStyle Width="35px" />
                            <ItemTemplate>
                                <asp:ImageButton CommandName="viewdata" CommandArgument='<%#Eval("FormCheckID") %>'
                                    ImageUrl="../App_Themes/Common_CSS/images/GridDetail.gif" runat="server" ID="ibtnView" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderStyle Width="35px" />
                            <HeaderTemplate>
                                编辑
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:ImageButton CommandName="edi" CommandArgument='<%#Eval("FormCheckID") %>' ImageUrl="../App_Themes/Common_CSS/images/GridEdit.gif"
                                    runat="server" ID="ibtnEdi" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderStyle-CssClass="Hidden" ItemStyle-CssClass="Hidden">
                            <HeaderStyle Width="35px" />
                            <HeaderTemplate>
                                删除
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:ImageButton ImageUrl="../App_Themes/Common_CSS/images/delete_small.gif" runat="server"
                                    ID="ibtnDel" />
                                <asp:Button ID="btnDel" runat="server" CssClass="Hidden" CommandArgument='<%#Eval("FormCheckID") %>'
                                    CommandName="del" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:SGridView> 
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>


